package com.kingyun.gpsinspection.purificationservice.facade.service.som;

import com.kingyun.gpsinspection.purificationservice.facade.model.som.FacadeDeviceOperateInfo;
import com.kingyun.gpsinspection.purificationservice.facade.model.tdm.Hazard;

import java.util.List;

/**
 * 危险因素service层
 * Created by liuyj on 2017/1/12.
 */
public interface SomHazardService {
    /**
     * 上报危险因素
     * @param hazard
     * @return
     */
    int addHazard(Hazard hazard);

    /**
     * 受控列表
     * @param orgId
     * @param limit
     * @param offset
     * @return
     */
    List<FacadeDeviceOperateInfo> queryListByOrgId(String orgId, int limit, int offset);
}
